/*
 * Name: Joon Ho Cho
 * Date: 10/24/2008
 * Course: 15-437
 */
package scheduler.model;

import org.mybeans.dao.DAOException;


import scheduler.databean.Course;
import scheduler.databean.Section;
import scheduler.formbean.searchForm;

public interface CourseDao {   
   
    public Course create(int major, int level, String courseName, String description, int unit) throws DAOException;
    public Course lookup(int id) throws DAOException;
    public Course[] getSearch(searchForm form) throws DAOException ;
    public Course create(Course course) throws DAOException;
    public Course[] getCoursesBySections(Section[] sec) throws DAOException;
    
}
